package com.gxa.xly2024.mapper;

import com.gxa.xly2024.dto.DTO;
import com.gxa.xly2024.pojo.Employee;
import com.gxa.xly2024.pojo.Purchase;

import java.util.List;

public interface EmployeeMapper {
        Employee selectEmployeeById(Integer id);

        List<Employee> selectEmployeeByLimit(DTO dto);

        int selectCount(DTO dto);

        void insert(Employee employee);

        void updateById(Employee employee);

        void deleteById(Integer id);

}
